﻿using Business.Base.DB.DBRules;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Business.Base.Model
{
    [Serializable]
    public class ExperimentRecord
    {
        int id;
        private DateTime recordTime;
        String experimentCode;
        Double workingFlow;
        Double presureIn;
        Double presureOut;
        Double electricCurrent;
        Double voltage;
        Double workingPower;
        Double workingSpeed;
        Double temperature;
      




        public int Id  { get => id; set => id = value; }
        [DBFieldAttribute("recordTime")]
        public DateTime RecordTime { get => recordTime; set => recordTime = value; }
        [DBFieldAttribute("experimentCode")]
        public string ExperimentCode { get => experimentCode; set => experimentCode = value; }
        [DBFieldAttribute("workingFlow")]
        public double WorkingFlow { get => workingFlow; set => workingFlow = value; }
        [DBFieldAttribute("presureIn")]
        public double PresureIn { get => presureIn; set => presureIn = value; }
        [DBFieldAttribute("presureOut")]
        public double PresureOut { get => presureOut; set => presureOut = value; }
        [DBFieldAttribute("electricCurrent")]
        public double ElectricCurrent { get => electricCurrent; set => electricCurrent = value; }
        [DBFieldAttribute("voltage")]
        public double Voltage { get => voltage; set => voltage = value; }
        [DBFieldAttribute("workingPower")]
        public double WorkingPower { get => workingPower; set => workingPower = value; }
        [DBFieldAttribute("workingSpeed")]
        public double WorkingSpeed { get => workingSpeed; set => workingSpeed = value; }
        [DBFieldAttribute("temperature")]
        public double Temperature { get => temperature; set => temperature = value; }
    }
}
